package com.yy.web.pm.billboardRemove.mapper;

import com.yy.web.pm.billboard.domain.BillboardData;
import com.yy.web.pm.billboardRemove.domain.BillboardRemove;
import java.util.List;

import com.yy.web.pm.shopPeople.domain.ShopPeople;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BillboardRemoveMapper {
    /**
     * delete by primary key
     * @param id primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(BillboardRemove record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(BillboardRemove record);

    /**
     * select by primary key
     * @param id primary key
     * @return object by primary key
     */
    BillboardRemove selectByPrimaryKey(Integer id);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(BillboardRemove record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(BillboardRemove record);

    int updateBatch(List<BillboardRemove> list);

    int batchInsert(@Param("list") List<BillboardRemove> list);

    List<BillboardRemove> selectAllList(BillboardRemove billboardRemove);

    BillboardRemove selectByPrimaryShopKey(Integer integer);
}
